package example_06.Example_02;

import java.util.Arrays;

public class Class_Hero {
    /*创建一个英雄类，包括英雄的姓名，血量，护甲，移动速度*/
    String name;
    double hp;
    double armor;
    int movespeed;
    public Class_Hero(String name, double hp, double armor, int movespeed) {
        this.name = name;
        this.hp = hp;
        this.armor = armor;
        this.movespeed = movespeed;
    }
}
